package main

import (
	"fmt"
	"os"
)

func main () {
	hostName, err := os.Hostname()
	if err != nil {
		fmt.Printf("Get HostName failed: %s\n",
	err.Error())
	}

	fmt.Printf ("HostName: %s\n", hostName)
}
